package com.atguigu.acl.service;

import com.atguigu.acl.entity.ResourceCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smday
 * @since 2020-08-10
 */
public interface ResourceCategoryService extends IService<ResourceCategory> {


    /**
     * 获取所有资源分类
     */
    List<ResourceCategory> listAll();

    /**
     * 创建资源分类
     */
    int create(ResourceCategory resourceCategory);

    /**
     * 修改资源分类
     */
    int update(Long id, ResourceCategory resourceCategory);

    /**
     * 删除资源分类
     */
    int delete(Long id);
}
